package top.tenebrous.termbor.rpc.protocol.enums;

/**
 * @program: termbor-rpc
 * @description:
 * @author: yazhang6
 * @create: 2024-05-21 14:50
 **/
public enum RpcStatus {
    SUCCESS(0),
    FALL(1);

    private final int code;

    RpcStatus(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
